package com.silverbox.shopper.mapper;

import java.util.List;

import com.silverbox.shopper.entity.AlipayApplyAuthToken;

public interface AlipayApplyAuthTokenMapper {
	int deleteByPrimaryKey(Long id);

	int insert(AlipayApplyAuthToken record);

	int insertSelective(AlipayApplyAuthToken record);

	AlipayApplyAuthToken selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(AlipayApplyAuthToken record);

	int updateByPrimaryKey(AlipayApplyAuthToken record);

	/**
	 * 查询店铺授权令牌
	 * 
	 * @param token
	 * @return
	 */
	List<AlipayApplyAuthToken> getAlipayApplyAuthToken(AlipayApplyAuthToken token);
}